|
Menu location |
---|
Arch → Rebar tools |
Workbenches |
Arch |
Default shortcut |
None |
See also |
LShape Rebar |
This command is part of the Reinforcement AddOn, that you can install via menu Tools → Addons Manager |
Instrumentul UShape Rebar permite utilizatorului să creeze o armătură UShape reinforcing în elementul structural.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
Task panel for the tool
Instrumentul UShape Rebar poate fi utilizat în macros și din consola Python prin utilizarea următoarea funcție:
Rebar = makeUShapeRebar(f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation="Bottom",
structure=None, facename=None)
Exemplu: Crearea unei armături tip bară în U.
import FreeCAD, Arch, UShapeRebar
Structure = Arch.makeStructure(length=1000, width=1000, height=400)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
Rebar = UShapeRebar.makeUShapeRebar(50, 20, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face4")
Rebar.ViewObject.ShapeColor = (0.9, 0.0, 0.0)
Rebar2 = UShapeRebar.makeUShapeRebar(50, 50, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face6")
Rebar2.ViewObject.ShapeColor = (0.0, 0.0, 0.9)
Schimbarea proprietăților barei în U.
editUShapeRebar(Rebar, f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation,
structure=None, facename=None)
Rebar
is a previously created UShapeRebar
object.makeUShapeRebar()
function.structure
and facename
may be omitted so that the rebar stays in the original structure.import UShapeRebar
UShapeRebar.editUShapeRebar(Rebar, 50, 50, 20, 20,
16, 20, 5, True, 5, "Top")
UShapeRebar.editUShapeRebar(Rebar2, 70, 50, 20, 20,
16, 70, 5, True, 5, "Top")